Release 10.1A: OpenEdge Development:
Progress 4GL Reference
Type-name syntax
Specify a user-defined type name for a class, a super class, or an interface as a character string using the following syntax:
packageA period-separated list of components that, along with the class name, uniquely identify the class, super class, or interface. The components are based on a valid directory pathname relative to
Note: Do not place a class definition file in a directory whose name contains a period (.) character; Progress interprets the component after the period as another directory level and will not find the referenced class definition file.PROPATH, where each component maps to a directory level in the path and each slash separator in the path is replaced with a period. If specified, the relative path of the class definition file represented bypackagemust remain constant between compile time and run time.class-nameThe class name. This name must match the name of a class definition file (excluding the
.clsor.rextension) located in the relative path represented bypackage, if specified.This name must begin with an alphabetic character and it cannot contain a period.
Do not name a class type using a Progress reserved keyword or a built-in Progress data type name, such as INTEGER. For a list of Progress keywords, see the "Keyword Index" section.
If
Examplepackageorclass-namecontains embedded spaces, you must enclose the entire type name in quotes.If your
PROPATHis "C:/myfiles", and your class definition file name is "C:/myfiles/acme/myObjs/CustObjs.cls", then Progress requirespackageto be "acme.myObjs."andclass-nameto be "CustObjs".
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |